package com.developmentReformProject.dto;


import com.developmentReformProject.entity.Admin;
import com.developmentReformProject.enums.AdminPowerEnum;
import com.developmentReformProject.enums.AdminStateEnum;

import java.io.Serializable;

public class AdminDto extends Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    private String adminPowerDesc;
    private String adminStateDesc;
    public String getAdminPowerDesc(){
        return AdminPowerEnum.valueToDESC(this.getAdminPower());
    }

    public String getAdminStateDesc() {
        return AdminStateEnum.valueToDESC(this.getAdminStateId());
    }
}
